package com.t.blog.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.t.blog.service.ThemesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.t.pro.dao.ThemesDao;
import org.t.pro.vo.ThemesVo;

import java.util.List;

/**
* @author a0000
* @description 针对表【themes】的数据库操作Service实现
* @createDate 2024-01-27 18:26:14
*/
@Service
public class ThemesServiceImpl extends ServiceImpl<ThemesDao, ThemesVo>
    implements ThemesService {

    @Autowired
    private ThemesDao themesDao;

    @Override
    public List<ThemesVo> getThemsList() {
        return themesDao.getThemsList();
    }

    @Override
    public void insertThemesList(List<ThemesVo> themesVos) {
        themesDao.insertThemes(themesVos);
    }
}




